﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <vector>
using namespace std;

int main() {
    vector<int> num;
    string s;
    cin >> s;
    int sum = 0;
    for (auto& ch : s)
    {
        num.push_back(ch - '0');
        sum += ch - '0';
    }

    if (sum % 2 != 0)
    {
        cout << "No";
        return 0;
    }

    vector<int> dp(sum / 2 + 1, 0);
    dp[0] = 1;
    for (int i = 0; i < num.size(); i++)
    {
        for (int j = sum / 2; j >= num[i]; j--)
        {
            dp[j] = dp[j] + dp[j - num[i]];
        }
    }
    if (dp[sum / 2]) cout << "Yes";
    else cout << "No";
    return 0;
}
//1 1 1
//1 0 0
//1 0 0
//1 0 0